package com.jackiechan.day12;

import java.io.*;

public class CopyFile {
    public static void main(String[] args) throws IOException {
        show();
    }
    public static void show() throws IOException {
        InputStream in = new BufferedInputStream(
                new FileInputStream("D:\\test\\龙叔.mp4"));
        OutputStream out = new BufferedOutputStream(
                new FileOutputStream("D:\\test\\龙叔1.mp4"));
        int b=0;
        while ((b=in.read()) != -1){
            out.write(b);
        }
        in.close();
        out.close();
    }
}
